package com.gxa.utils;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * Created by shelei on 2022/1/18 9:59
 */
@ApiModel(description = "响应的信息")
@Data
public class Result<T> {

    //代表响应的状态码
    @ApiModelProperty("响应的状态码")
    private Integer code;

    //响应信息
    @ApiModelProperty("响应信息")
    private String msg;

    //总记录数
    @ApiModelProperty("总记录数")
    private Long count;

    //代表返回的数据
    @ApiModelProperty("返回的数据")
    private T  data;


}
